import {FormRuleUtil} from "@/utils";


// 登录表单 对象
export const LOGIN_DTO: Record<string, any> = {
    account: null,
    password: null,
    uuid: null,
    captcha: null

}

// 登录表单 验证规则
export const LOGIN_RULE = {
    account: FormRuleUtil.strRule('登录账号', true, 30),
    password: FormRuleUtil.strRule('登录密码', true, 30),
    captcha: FormRuleUtil.strRule('验证码', true, 10),

}


export const FIND_DTO: Record<string, any> = {
    account: null,
    items: [],


}


export const FIND_RULE = {
    account: FormRuleUtil.strRule('登录账号', true, 30),
    answer: FormRuleUtil.strRule('问题回答', true),


}
